package cn.edu.njnu.opengmpback.collaboration.entity;

import cn.edu.njnu.opengmpback.collaboration.enums.CollabProjectCategory;
import cn.edu.njnu.opengmpback.collaboration.enums.CollabProjectPrivacy;
import lombok.AllArgsConstructor;
import lombok.Data;
// import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "Projects")
@AllArgsConstructor
public class CollabProject extends CollabActivity{

    /**
     * Privacy control
     */
    private CollabProjectPrivacy privacy;

    /**
     * tag
     * picture: descriptive picture
     */
    private String tag;
    private String picture;

    /**
     * Project category
     */
    private CollabProjectCategory category;

    public CollabProject(){
        this.setLevel(0);
    }
}

